package com.baizhi.elastic.dao;

import com.baizhi.elastic.entity.Book;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

public interface BookRepository extends ElasticsearchRepository<Book,String> {
	Iterable<Book> findByNameAndAuthor(String name,String author);
}
